package com.soilflow.common.core.domain.entity.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.soilflow.common.annotation.Excel;
import com.soilflow.common.utils.easyexcel.StatusConverter;
import lombok.Data;

/**

 */

/**
 * 表头行宽
 * @author chengshihua
 * @date 2022年08月21日 16:44:41
 */
@ColumnWidth(15)
@Data
public class SysDeptVoExcel {
    /** 党委 */
    @Excel(name = "党委")
    @ExcelProperty({"党委"})
    private String parentName1;

    /** 党总支 */
    @Excel(name = "党总支")
    @ExcelProperty({"党总支"})
    private String parentName2;

    /** 党支部 */
    @Excel(name = "党支部")
    @ExcelProperty({"党支部"})
    private String parentName3;

    /** 党小组 */
    @Excel(name = "党小组")
    @ExcelProperty({"党小组"})
    private String deptName;

    /** 组织编号 */
    @Excel(name = "组织编号")
    @ExcelProperty({"组织编号"})
    private String leader;

    /** 详细地址 */
    @Excel(name = "详细地址")
    @ExcelProperty({"详细地址"})
    private String phone;

    /** 部门状态:0正常,1停用 */
    @Excel(name = "部门状态(正常/停止)",readConverterExp="0=正常,1=停用")
    @ExcelProperty(value = {"部门状态(正常/停止)"},converter = StatusConverter.class)
    private String status;

}
